package com.eric.domain.dto;

import com.eric.domain.po.Book;
import com.eric.domain.po.IDCard;
import com.eric.domain.po.Role;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
public class AccountDTO {
    private Long id;
    private String userName;
    private Integer age;
    private Integer version;
    private Date createTime;
    private Date updateTime;

    private IDCard idCard;

    private List<Book> bookList;

    private Map<Long,Book> bookMap;

    private List<Role> roles;



}
